package cn.project.domain.rebate.repository;

import cn.project.domain.rebate.model.aggregate.BehaviorRebateAggregate;
import cn.project.domain.rebate.model.entity.UserBehaviorRebateOrderEntity;
import cn.project.domain.rebate.model.valobj.DailyBehaviorRebateVO;
import cn.project.domain.rebate.model.valobj.UserBehaviorTypeVO;

import java.util.List;

/**
 * @author xu
 * @description 行为返利服务仓储接口
 * @date 2025/7/29
 */

public interface IBehaviorRebateRepository {
    List<DailyBehaviorRebateVO> queryDailyBehaviorRebateConfig(UserBehaviorTypeVO userBehaviorTypeVO);

    void saveUserRebateRecord(String userId, List<BehaviorRebateAggregate> behaviorRebateAggregates);

    List<UserBehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String userId, String outBusinessNo);
}
